import 'ol/ol.css'
import Feature from 'ol/Feature'
import Map from 'ol/Map'
import View from 'ol/View'
import { LineString, Point, Polygon } from 'ol/geom'
import { defaults as defaultInteractions, Pointer as PointerInteraction } from 'ol/interaction'
import { Tile as TileLayer, Vector as VectorLayer } from 'ol/layer'
import { TileJSON, Vector as VectorSource } from 'ol/source'
import { Fill, Icon, Stroke, Style } from 'ol/style';

var Drag = (function(PointerInteraction) {
    function Drag() {
        PointerInteraction.call(this, {
            handleDownEvent: handleDownEvent,
            handleDargEvent: handleDargEvent
        });
    }
});
this.coordinate_ = null;
this.cursor_ = 'pointer';
this.feature_ = null;
this.previousCursor_ = undefined;

if (PointerInteraction) {
    Drag.__proto__ = PointerInteraction;
}
//
Drag.prototype = Object.create(PointerInteraction && PointerInteraction.prototype)
Drag.prototype.constructor = Drag